<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<RestaurantView[]>" %>
<%@ Import Namespace="ilgolosone.UI.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Specialit&agrave; per Ristoranti
</asp:Content>
<asp:Content ID="mainHeader" ContentPlaceHolderID="Header" runat="server">
    <img src="<%=Url.Content("~/Content/images/Header.png") %>" alt="Header" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% var urlHelper = new UrlHelper(this.ViewContext.RequestContext); %>
    <td height="126" background="<%=Url.Content("~/Content/images/bg_pix_under.gif") %>">
        <table width="100%"  border="0" cellspacing="0" cellpadding="4">
        <%
            for (int i = 0; i < Model.Length; i++)
            {
                RestaurantView model = Model[i];
        %>        
            <tr align="center">
                <td width="33%" align="center"><span class="style3"><img src="<%=Url.Content("~/Content/images/pix1.jpg") %>" width="131" height="87" align="middle" /></span></td>
                <td width="34%" align="left"><img src="<%=Url.Content("~/Content/images/bullet.gif") %>" width="10" height="5" hspace="5" vspace="6" align="left" /><span class="cont_name style1"><%=model.RestaurantName %></span>&nbsp;<span><%=Html.ActionLink("Prenota","Index","Reservation",new { restaurantId = model.Id },null) %></span></td>
            </tr>
        <% } %>
        </table>
    </td>    

</asp:Content>
